package com.xlh.dao.course;

import com.xlh.pojo.course.ResourceAuthority;
import com.xlh.pojo.course.ResourceAuthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResourceAuthorityMapper {
    long countByExample(ResourceAuthorityExample example);

    int deleteByExample(ResourceAuthorityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ResourceAuthority record);

    int insertSelective(ResourceAuthority record);

    List<ResourceAuthority> selectByExample(ResourceAuthorityExample example);

    ResourceAuthority selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ResourceAuthority record, @Param("example") ResourceAuthorityExample example);

    int updateByExample(@Param("record") ResourceAuthority record, @Param("example") ResourceAuthorityExample example);

    int updateByPrimaryKeySelective(ResourceAuthority record);

    int updateByPrimaryKey(ResourceAuthority record);
}